const toast = ({ title = '加载中...', icon = 'none', duration = 2000, mask = true } = {}) => {
  wx.showToast({
    title: title,
    icon: icon,
    duration: duration,
    mask: mask
  });
};

wx.toast=toast
export {
  toast
};
